projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebadb1e
)
(xselect-convert-to-string): If VALUE is a string,
author
Eli Zaretskii
<eliz@gnu.org>
Wed, 5 Jun 2002 17:14:16 +0000
(17:14 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 5 Jun 2002 17:14:16 +0000
(17:14 +0000)
return a cons of TYPE and the string.
lisp/select.el
patch
|
blob
|
history
diff --git
a/lisp/select.el
b/lisp/select.el
index 85ca927d7ef755f1ea8020a751ffdd3b7399eb8e..801db31cb6195d6e5b12c6227602bbe898cbedd7 100644
(file)
--- a/
lisp/select.el
+++ b/
lisp/select.el
@@
-134,7
+134,9
@@
Cut buffers are considered obsolete; you should use selections instead."
(defun xselect-convert-to-string (selection type value)
(cond ((stringp value)
- value)
+ ;; Return the type as well, so that xselect.c could honor
+ ;; requests whose type is STRING.
+ (cons type value))
((overlayp value)
(save-excursion
(or (buffer-name (overlay-buffer value))